<!DOCTYPE html>
<html class="client-nojs vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-0 vector-toc-not-available vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-0 vector-feature-night-mode-enabled skin-theme-clientpref-os vector-sticky-header-enabled" lang="fr" dir="ltr"><head>
<meta charset="UTF-8">
<title>Linux loader</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" href="./_res_/favicon.png">
<link rel="canonical" href="https://fr.wikipedia.org/wiki/Linux_loader"> <link href="./_mw_/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/ext.wikimediamessages.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./_mw_/skins.vector.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./_mw_/site.styles.css">
<link rel="stylesheet" type="text/css" href="./_mw_/noscript.css">
<link rel="stylesheet" type="text/css" href="./_res_/footer.css">
<link rel="stylesheet" type="text/css" href="./_res_/vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Linux_loader rootpage-Linux_loader skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading"><i><span lang="en">Linux loader</span></i></h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="contentSub">
<div id="mw-content-subtitle"></div>
</div>
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="fr" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="fr" dir="ltr"><p class="mw-empty-elt">
</p>
<div class="infobox_v3 infobox infobox--frwiki noarchive" style="width:260px">
<div class="entete icon informatique" style="color: #000000;"><style data-mw-deduplicate="TemplateStyles:r228712691">
/* start https://fr.wikipedia.org/ */
.mw-parser-output .entete.informatique{background-image:url("./_mw_/Picto.nfo.png")}
/* end https://fr.wikipedia.org/ */
</style>
<div>LILO</div>
</div>
<p class="mw-empty-elt">
</p>
<div class="images">
</div>
<table><caption style="color:#000000;">Informations</caption>
<tbody><tr>
<th scope="row"><a href="D%C3%A9veloppeur" title="Développeur">Développé par</a></th>
<td>
John Coffman</td>
</tr>
<tr>
<th scope="row"><a href="D%C3%A9p%C3%B4t_(informatique)" title="Dépôt (informatique)">Dépôt</a></th>
<td>
<span class="wd_p1324"><a rel="nofollow" class="external text" href="https://salsa.debian.org/joowie-guest/upstream_lilo">salsa.debian.org/joowie-guest/upstream_lilo</a></span></td>
</tr>
<tr>
<th scope="row"> <a href="Langage_de_programmation" title="Langage de programmation">Écrit en</a>
</th>
<td>
<span class="wd_p277"><a href="C_(langage)" title="C (langage)">C</a> et <a href="Assembleur" title="Assembleur">assembleur</a></span></td>
</tr>
<tr>
<th scope="row"> Type
</th>
<td>
<a href="Chargeur_d'amor%C3%A7age" title="Chargeur d'amorçage">Chargeur d'amorçage</a></td>
</tr>
<tr>
<th scope="row"><a href="Licence_de_logiciel" title="Licence de logiciel">Licence</a></th>
<td>
<a href="Licence_BSD" title="Licence BSD">BSD</a></td>
</tr>
<tr>
<th scope="row"><a href="Site_web" title="Site web">Site web</a></th>
<td>
<span class="wd_p856"><a rel="nofollow" class="external text" href="https://www.joonet.de/lilo/">www.joonet.de/lilo</a></span></td>
</tr>
</tbody></table>
<p class="mw-empty-elt">
</p>
</div>
<p><b>LILO</b> ou <b>LInux <i><span class="lang-en" lang="en">LOader</span></i></b> est un <a href="Chargeur_d'amor%C3%A7age" title="Chargeur d'amorçage">chargeur d'amorçage</a> <a href="Logiciel_libre" title="Logiciel libre">libre</a>, diffusé sous la <a href="Licence_BSD" title="Licence BSD">licence BSD</a>. Il permet de choisir la <a href="Partition_de_disque_dur" class="mw-redirect" title="Partition de disque dur">partition</a> à amorcer lors du démarrage de l'<a href="Ordinateur" title="Ordinateur">ordinateur</a>.
</p><p>Il permet le chargement de divers <a href="Syst%C3%A8me_d'exploitation" title="Système d'exploitation">systèmes d'exploitation</a>, mais s'installe depuis <a href="Linux" title="Linux">Linux</a>. D'ailleurs, il a été initialement conçu pour le chargement de Linux, d'où son nom.
Les premières versions de LILO demandaient la saisie au <a href="Clavier_informatique" class="mw-redirect" title="Clavier informatique">clavier</a> du nom du système à amorcer. Les versions récentes affichent un menu semi-graphique à l'écran, voire une image en 640x480 16 couleurs ; si l'utilisateur ne touche pas le clavier pendant un temps déterminé, généralement 10 secondes, le système d'exploitation configuré par défaut dans LILO sera lancé.
</p>
<div class="mw-heading mw-heading2"><h2 id="Fichier_de_configuration_Lilo.conf">Fichier de configuration <i>Lilo.conf</i></h2></div>
<p>Les paramètres de configuration peuvent être modifiés en éditant le <a href="Fichier_(informatique)" class="mw-redirect" title="Fichier (informatique)">fichier</a> <tt>/etc/lilo.conf</tt>. Pour actualiser les modifications, il est également nécessaire de taper <i>lilo</i> dans un shell Unix
</p>
<div class="mw-heading mw-heading3"><h3 id="Exemple_de_fichier">Exemple de fichier</h3></div>
<p>Certaines parties du fichier original ont été retirées pour avoir un exemple relativement simple et pas trop long :
</p>
<pre><i># Support <a href="LBA" class="mw-disambig" title="LBA">LBA</a> (Logical block addressing) pour les disques de plus de 1024 cylindres</i>
<i>lba32</i>
<i># Spécifier le <a href="P%C3%A9riph%C3%A9rique_(informatique)" class="mw-redirect" title="Périphérique (informatique)">périphérique</a> d'amorçage :</i>
<i># une <a href="Partition_de_disque_dur" class="mw-redirect" title="Partition de disque dur">partition</a> (ou plus rarement un </i>raw device<i>)</i><sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup>
<i># Sur le premier bloc de ce périphérique, l'utilitaire lilo copiera le <a href="Master_boot_record" title="Master boot record">MBR</a></i>
<i>boot=/dev/hda</i>
<i># Spécifier le périphérique qui sera monté à la <a href="R%C3%A9pertoire_racine" title="Répertoire racine">racine</a> ('/')</i>
<i>root=/dev/hda5</i>
<i># Installer le fichier spécifié comme nouveau secteur d'amorçage</i><sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>
<i># Vous avez le choix entre : bmp, compat, menu et texte</i>
<i># Chercher dans /boot/ ou exécutez la commande </i><a href="Man_(Unix)" title="Man (Unix)">man</a> 5 lilo.conf<i>pour plus de détails</i>
<i>install=/boot/boot-menu.b</i>
<i># Spécifier l'emplacement du fichier de map (adresses mémoire des appels système)</i>
<i>#</i>
<i>map=/boot/map</i>
<i># Spécifier le nombre de DIXIÈMES de secondes avant que Lilo</i>
<i>#ne fasse l'amorçage sur la première image</i>
<i>#</i>
<i>delay=20</i>
<i># Vous pouvez mettre un message personnalisé pour l'amorçage</i>
<i># message=/boot/message-d_amorçage.txt</i>
<i># If you use 'prompt', and this computer may need to reboot unattended, you</i>
<i># must specify a 'timeout', or it will sit there forever waiting</i>
<i># for a keypress. 'single-key' goes with the 'alias' lines in the</i>
<i># 'image' configurations below. eg: You can press '1' to boot</i>
<i># 'Linux', '2' to boot 'LinuxOLD', if you uncomment the 'alias'.</i>
<i>prompt</i>
<i>timeout=150</i>
<i># prompt</i>
<i># single-key</i>
<i># delay=100</i>
<i># timeout=100</i>
<i># Spécifier le mode texte <a href="Video_Graphics_Array" title="Video Graphics Array">VGA</a> dans la phase d'amorçage (normal, extended, ask, <mode>)</i>
<i>#</i>
<i># vga=ask</i>
<i># vga=9</i>
vga=normal
<i># Les options communes à toutes les images installées sont indiquées ici.</i>
<i># Voir "boot-prompt-HOWTO" et "kernel-parameters.txt"</i>
<i>#dans le répertoire de la documentation du <a href="Noyau_Linux" title="Noyau Linux">Noyau Linux</a></i>
<i>#</i>
<i># append=""</i>
<i># Amorçage par défaut</i>
<i>default=Linux2.6.7</i>
</pre>
<pre><i>image=/boot/vmlinuz-2.4.26</i>
<i> label=Linux2.4.26</i>
<i> read-only</i>
<i>image=/boot/vmlinuz-2.6.7</i>
<i> label=Linux2.6.7</i>
<i> read-only</i>
</pre>
<pre><i># Si vous avez un système d'exploitation <a href="Windows_NT" title="Windows NT">Windows NT</a> (<a href="Windows_XP" title="Windows XP">XP</a>, <a href="Windows_2003" class="mw-redirect" title="Windows 2003">2003</a>, etc.),</i>
<i>#vous pouvez décommenter les lignes suivantes</i>
<i># ATTENTION ! remplacer hda1 par le périphérique où se trouve MS Windows</i>
<i>other=/dev/hda1</i>
<i>label="WinNT(hda1)</i>
</pre>
<div class="mw-heading mw-heading2"><h2 id="Codes_erreurs_affichés_par_LILO"><span id="Codes_erreurs_affich.C3.A9s_par_LILO"></span>Codes erreurs affichés par LILO</h2></div>
<p>Voici la liste des messages<sup id="cite_ref-3" class="reference"><a href="#cite_note-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>
</p>
<table class="wikitable">
<tbody><tr>
<th>Etape
</th>
<th>Affichage en cas d'erreur
</th></tr>
<tr>
<td>Le chargeur d'amorçage de la partie 1 est chargé en mémoire et démarré
</td>
<td>L
</td></tr>
<tr>
<td>Le chargeur d'amorçage de la partie 2 est chargé en mémoire
</td>
<td>LI
</td></tr>
<tr>
<td>Le chargeur d'amorçage de la partie 2 a été chargé à une adresse incorrecte
</td>
<td>LIL?
</td></tr>
<tr>
<td>Démarrage de la partie 2 du chargeur d'amorçage OK, mais la <a href="Global_Descriptor_Table" title="Global Descriptor Table">GDT (table des descripteurs de segment)</a> est introuvable
</td>
<td>LIL
</td></tr>
<tr>
<td>La GDT est corrompue
</td>
<td>LIL-
</td></tr>
<tr>
<td>Toutes les étapes de LILO se sont déroulées correctement
</td>
<td>LILO
</td></tr></tbody></table>
<div class="mw-heading mw-heading2"><h2 id="Voir_aussi">Voir aussi</h2></div>
<div class="mw-heading mw-heading3"><h3 id="Articles_connexes">Articles connexes</h3></div>
<ul><li><a href="Master_boot_record" title="Master boot record">Master boot record</a></li>
<li><a href="Syslinux" title="Syslinux">Syslinux</a></li>
<li>loadlin</li></ul>
<dl><dt>Autres chargeurs d'amorçage libres</dt></dl>
<ul><li><a href="GNU_GRUB" title="GNU GRUB">GNU GRUB</a></li>
<li>Gestor de Arranque Gráfico, qui tient en entier sur le secteur d'amorçage (<a href="Master_Boot_Record" class="mw-redirect" title="Master Boot Record">Master Boot Record</a>)</li>
<li><a href="AiR-Boot" title="AiR-Boot">AiR-Boot</a>, qui tient en entier sur le secteur d'amorçage (<a href="Master_Boot_Record" class="mw-redirect" title="Master Boot Record">Master Boot Record</a>)</li>
<li><a href="XOSL" title="XOSL">XOSL</a></li>
<li><a href="Refind" class="mw-redirect" title="Refind">Refind</a></li></ul>
<div class="mw-heading mw-heading3"><h3 id="Liens_externes">Liens externes</h3></div>
<ul><li><cite class="ouvrage" id="site_officiel" style="font-style: normal;"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://lilo.alioth.debian.org/">Site officiel</a></cite></li>
<li><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a rel="nofollow" class="external text" href="http://alioth.debian.org/projects/lilo/">Page du projet</a></li>
<li><a rel="nofollow" class="external text" href="http://manpagesfr.free.fr/man/man8/lilo.8.html">La page de manuel de LiLO en français</a></li></ul>
<div class="mw-heading mw-heading2"><h2 id="Notes_et_références"><span id="Notes_et_r.C3.A9f.C3.A9rences"></span>Notes et références</h2></div>
<div class="references-small decimal" style=""><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><a href="#cite_ref-1">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a href="https://en.wikipedia.org/wiki/raw_device" class="extiw external" title="en:raw device">raw device</a></span>
</li>
<li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a> </span><span class="reference-text"><abbr class="abbr indicateur-langue" title="Langue : anglais">(en)</abbr> <a href="https://en.wikipedia.org/wiki/Boot_sector" class="extiw external" title="en:Boot sector">Boot sector</a></span>
</li>
<li id="cite_note-3"><span class="mw-cite-backlink"><a href="#cite_ref-3">↑</a> </span><span class="reference-text"><a rel="nofollow" class="external text" href="http://www.lea-linux.org/documentations/index.php/Trucs:Codes_d%27erreur_de_LILO_(L,_LI,_LIL,_LIL-,_01_01_01_etc.)">Code erreur de LILO sur le site Lea-linux.org</a></span>
</li>
</ol>
</div>
<ul id="bandeau-portail" class="bandeau-portail"><li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de Linux</span> </span></li> <li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail des logiciels libres</span> </span></li> <li><span class="bandeau-portail-element"><span class="bandeau-portail-icone"><span class="noviewer" typeof="mw:File"></span></span> <span class="bandeau-portail-texte">Portail de l’informatique</span> </span></li> </ul></div><!--htdig_noindex--><div><div class="zim-footer">
Cet article est issu de <a class="external text" title="Dernière modification le 2022-09-16" href="https://fr.wikipedia.org/wiki/?title=Linux_loader&oldid=197008631">Wikipédia</a>. Sauf mention contraire, le texte est disponible sous <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.fr">Creative Commons Attribution-Share Alike 4.0</a>. Des conditions supplémentaires peuvent s’appliquer aux fichiers multimédias.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
<script src="./_webp_/webpHandler.js"></script>
</body></html>